<form id="form1" action="{$ADM_ROOT}user/save" method="post" onsubmit="return ajaxSubmit(this.id);">
	<input type='hidden' name='user_id' id='user_id' value='{$user->get_id()}' />
	<label for="name">{__ t='Name'}</label>
	<input type='text' name='name' id='user_name' value='{$user->get_name()}' /><br/>
	<label for="email">{__ t='Email'}</label>
	<input type='text' name='email' id='user_email' value='{$user->get_email()}' /><br/>
	<label for="password">{__ t='Password'}</label>
	<input type='password' name='password' id='password' value='' /><br/>
	<label for="roles">{__ t='User\'s Roles'}</label>
	<select name="roles[]" id="roles" multiple="multiple">
		{html_options options=$system_roles selected=$selected_roles multiple="true"}
	</select><br />
	<input type="submit" value="{__ t="Save"}"/>
	<button type="button" onclick="window.history.back()">{__ t='Back'}</button>
</form>